#define _CRT_SECURE_NO_WARNINGS 2

#include<vector>
#include<stdio.h>
#include<iostream>
using namespace std;

void test1() {
	int a[] = { 1,2,3,4,5 };
	vector<int > v(a,a+5);
	vector<int>::iterator it = v.begin();
	it++;
	it == v.end();
	//cin >> it;
}

int main() {
	/*int ar[] = { 1,2,3,4,5,6,7,8,9,10 };

	int n = sizeof(ar) / sizeof(int);

	vector<int> v(ar, ar + n);

	cout << v.size() << ":" << v.capacity() << endl;
	cout << v[13];
	test1();*/
	/*vector<int> v;
	cout << v.size() << endl<<v.capacity() << endl;
	v.push_back(1);
	cout << v.size() << endl << v.capacity() << endl;*/
	/*vector<int> v1;
	vector<vector<int>> v;
	v.push_back(v1);
	cout << v.size() << v.capacity() << endl;
	v[0].push_back(2);
	for (int i = 1; i < 5; ++i) {
		v[0].push_back(1);  
		for (int j = 0; j <= i; ++j) {
			if (j - 1 >= 0 && j <= i - 1)
				v[i][j] = v[i - 1][j - 1] + v[i - 1][j];
			else
				v[i][j] = 1;
		}
	}*/
	/*int ar[] = { 1,2,3,4,5,6,7,8,9,10 };

	int n = sizeof(ar) / sizeof(int);

	vector<int> v(ar, ar + n);

	int a = 123456;
	vector<int >::iterator it = v.begin();
	printf("%p\n", it+1);
	printf("%p\n", v.end());
	it = v.erase(it);
	printf("%p\n", it);
	printf("%p\n", v.begin());*/
	/*int a = 1;
	int* p = &a;*/
	//p =p*2;
	vector<string> vs;

	return 0;
}